/* =========================================
   PLIETSCHER – Concept Space
   style.css
   ========================================= */

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  /* 45°-Streifen: aktuelle Cremfarbe + #FFFF00, je ~1 cm breit */
  background: repeating-linear-gradient(
    45deg,
    #F6F3EA 0,
    #F6F3EA 1.414cm,
    #FFFF00 1.414cm,
    #FFFF00 2.828cm
  );
  background-attachment: fixed;
  color: #111;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================
   LANDING SECTION
   ========================================= */
#landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 20px;
  position: relative;
}

/* --- TOP NAV --- */
.top-nav {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 48px;
}

.top-nav__link {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: clamp(14px, 1.8vw, 22px);
  letter-spacing: 2px;
  color: #111;
  transition: color 0.18s ease, transform 0.18s ease;
}

.top-nav__link:hover {
  color: #888;
  transform: translateY(-2px);
}

/* --- HAUPTÜBERSCHRIFT --- */
.main-heading {
  text-align: center;
  font-family: 'Bangers', Impact, sans-serif;
  line-height: 0.8;
  letter-spacing: 4px;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-heading__line {
  display: block;
  font-size: clamp(132px, 25.5vw, 393px);
  transform: scaleY(1.2);
  transform-origin: center;
}

/* ?-Platzhalter – wird durch Grafik ersetzt */
.question-graphic {
  display: inline-block;
  font-size: inherit;
  color: inherit;
}

/* Falls eine <img>-Grafik eingesetzt wird: */
img.question-graphic {
  height: 0.85em;
  width: auto;
  vertical-align: baseline;
  display: inline;
}

/* --- SCROLL HINT --- */
.scroll-hint {
  margin-top: 32px;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 14px;
  letter-spacing: 4px;
  color: #888;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* =========================================
   JOURNEY SECTION
   ========================================= */
#journey {
  height: 180vh;
}

.journey-word {
  position: fixed;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: clamp(94px, 18.2vw, 281px);
  color: #111;
  letter-spacing: 5px;
  opacity: 0;
  will-change: transform, opacity;
  white-space: nowrap;
  z-index: 100;
  cursor: pointer;
  pointer-events: none;
}

.journey-word--warum      { left: 50%; top: 28vh; }
.journey-word--eigentlich { left: 50%; top: 50vh; }
.journey-word--nicht      { left: 50%; top: 72vh; }

/* Kleine Links unterhalb der gestapelten Wörter */
.journey-sublinks {
  position: fixed;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: 3px;
  opacity: 0;
  z-index: 100;
  white-space: nowrap;
  pointer-events: none;
}

.journey-sublinks a {
  color: #111;
  transition: opacity 0.15s ease;
}

.journey-sublinks a:hover { opacity: 0.45; }

/* =========================================
   BLOG SECTION
   ========================================= */
#blog {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 80px;
}

.blog-heading {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 20px;
  letter-spacing: 8px;
  color: #ccc;
  margin-bottom: 0;
}

.blog-cloud-link {
  display: block;
  width: 100%;
  max-width: 720px;
  margin-top: -48px;
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.blog-cloud-link:first-of-type {
  margin-top: 0;
}

.blog-cloud-link:hover {
  transform: scale(1.02) translateY(-6px);
  filter: drop-shadow(0 10px 20px rgba(180,180,0,0.3));
  z-index: 5;
}

.blog-cloud-link img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-cloud-title {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bangers', Impact, sans-serif;
  font-size: clamp(18px, 2.8vw, 36px);
  color: #111;
  letter-spacing: 2px;
  white-space: nowrap;
  pointer-events: none;
}

.blog-cloud-subtitle {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Lato', sans-serif;
  font-size: clamp(11px, 1.2vw, 16px);
  color: #444;
  white-space: nowrap;
  pointer-events: none;
}

/* =========================================
   SPRECHBLASE (Blog-Bereich)
   ========================================= */

/* Äußerer Container – skaliert das SVG wie ein Bild */
.sprechblase-stage {
  width: 704px;
  max-width: 92vw;
  aspect-ratio: 704 / 576;
  margin: 60px 0 80px;
  position: relative;
}

.sprechblase-stage svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Organische Sprechblasen-Kontur (Pfad aus Illustrator) */
.bubble-shape {
  fill: #e6e6e6;
  stroke: #1d1d1b;
  stroke-miterlimit: 10;
  stroke-width: 9px;
}

/* idea-Buchstaben innerhalb der SVG-clipPath */
.sprechblase-letters {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: scale(0.90) translateX(-3%);
  transform-origin: center;
}

.sprechblase-letters .letter {
  position: absolute;
  font-family: 'Bangers', Impact, sans-serif;
  color: #FFFF00;
  opacity: 0.6;
  user-select: none;
  -webkit-text-stroke: 1.5px #000;
  paint-order: stroke fill;
  white-space: nowrap;
}

/* Formular absolut über dem SVG */
.sprechblase-login-wrap {
  position: absolute;
  inset: 0;
  width: 81.82%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.sprechblase-login-wrap form {
  pointer-events: all;
}

.sprechblase-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.sprechblase-login input {
  width: 190px;
  padding: 9px 12px;
  font-size: 13px;
  color: #666;
  border: 3px solid #000;
  border-radius: 12px;
  outline: none;
  background: #fff;
  font-family: 'Lato', sans-serif;
  text-align: center;
}

.sprechblase-login input::placeholder { color: #666; }
.sprechblase-login input:focus { border-color: #BBBB00; }

.sprechblase-login button {
  margin-top: 4px;
  padding: 7px 20px;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: #000;
  background: #FFFF00;
  border: 3px solid #000;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.sprechblase-login button:hover { background: #f5e600; }

.sprechblase-error {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  color: #cc0000;
  text-align: center;
}

/* =========================================
   SIDE KONTAKT LINK
   Startet bei 85 vh in #landing (position:absolute),
   wechselt per JS zu position:fixed bei 66.67 vh sobald
   der User scrollt – "scrollt mit, dann haftet"
   ========================================= */
.side-kontakt-link {
  position: absolute;
  left: 2cm;
  top: 85vh;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  font-family: 'Bangers', Impact, sans-serif;
  font-size: clamp(13px, 1.4vw, 18px);
  letter-spacing: 4px;
  color: #111;
  z-index: 200;
  transition: color 0.2s ease, opacity 0.3s ease;
  pointer-events: all;
}

.side-kontakt-link:hover { color: #888; }

/* =========================================
   RESPONSIVE – MOBILE
   ========================================= */
@media (max-width: 600px) {
  .top-nav {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    top: 20px;
  }

  .blog-cloud-link {
    margin-top: -32px;
  }

  .side-kontakt-link {
    display: none;
  }

  /* PLIETSCHER: clamp-Minimum (132 px) überschreibt 25.5 vw auf schmalen Screens –
     daher auf mobilen Geräten direkt vw-skalieren, damit der Text immer hineinpasst. */
  .main-heading__line {
    font-size: 18vw;
    transform: scaleY(2.4);
  }

  .sprechblase-stage {
    max-width: 95vw;
    margin: 30px 0 50px;
  }
}
